Adwaita: increase padding on header-bar and action-bar text buttons
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 16 Jul 2014 17:47:54 +0000 (19:47 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 16 Jul 2014 17:47:54 +0000 (19:47 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 318b16c991faabb01f2e3a8b820b347b3221b74d..54720534411c8de0e14a685ac138e77cccf23e46 100644 (file)
@@ -364,6 +364,11 @@ GtkLabel {
     // GtkImage itself to fit the circle
     padding: 5px 2px;
   }
+  .action-bar .stack-switcher &.text-button,
+  .header-bar .stack-switcher &.text-button {
+    padding-left: 10px;
+    padding-right: 10px;
+  }
   .stack-switcher > & {
     padding-left: 0;  // subtract the padding which will be added to the
     padding-right: 0; // GtkLabel
@@ -398,7 +403,7 @@ GtkLabel {
   .header-bar &.image-button,
   .action-bar &.image-button { padding: 8px; }
   .header-bar &.text-button,
-  .action-bar &.text-button { padding: 6px 8px 5px; } // due to font metrics
+  .action-bar &.text-button { padding: 6px 16px 5px; } // due to font metrics
 
   //inline-toolbar buttons
   .inline-toolbar &, .inline-toolbar &:backdrop {
index 75c4baba3dbbc3fbe1e79e0e9e13013b9160daf9..f632a52b7364840910f11eb34d798d239a1a2cce 100644 (file)
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
   .action-bar .stack-switcher .button.image-button, .header-bar .stack-switcher .button.image-button {
     padding: 5px 2px; }
+  .action-bar .stack-switcher .button.text-button, .header-bar .stack-switcher .button.text-button {
+    padding-left: 10px;
+    padding-right: 10px; }
   .stack-switcher > .button {
     padding-left: 0;
     padding-right: 0; }
   .header-bar .button.image-button, .action-bar .button.image-button {
     padding: 8px; }
   .header-bar .button.text-button, .action-bar .button.text-button {
-    padding: 6px 8px 5px; }
+    padding: 6px 16px 5px; }
   .inline-toolbar .button, .inline-toolbar .button:backdrop {
     border-radius: 2px;
     border-width: 1px; }
index 1a5348edac021bbaa50a7ecf57d85aa96038c4e0..31348cd4cdde1491587fd84290c9c21ffdeab8b4 100644 (file)
       box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
   .action-bar .stack-switcher .button.image-button, .header-bar .stack-switcher .button.image-button {
     padding: 5px 2px; }
+  .action-bar .stack-switcher .button.text-button, .header-bar .stack-switcher .button.text-button {
+    padding-left: 10px;
+    padding-right: 10px; }
   .stack-switcher > .button {
     padding-left: 0;
     padding-right: 0; }
   .header-bar .button.image-button, .action-bar .button.image-button {
     padding: 8px; }
   .header-bar .button.text-button, .action-bar .button.text-button {
-    padding: 6px 8px 5px; }
+    padding: 6px 16px 5px; }
   .inline-toolbar .button, .inline-toolbar .button:backdrop {
     border-radius: 2px;
     border-width: 1px; }